
bool is_number(const std::string &s)
{
    !s.empty() && s.find_first_not_of("0123456789") == std::string::npos;
}